home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _670E95D9081146F99883AF99C6716DD7 < prev    next >
Encoding:
Text File  |  2000-03-27  |  1.5 KB  |  44 lines

  1. // template file for newyork directory
  2.  
  3. #include "../common/header.ds"
  4.  
  5. output "p:/base/ds/tsr1"
  6.  
  7.  
  8. local entity mstalldoor1  // the stall door that flys off
  9. local entity stallguym // the guy in the far stall 
  10. local entity sinkguy // the guy standing by the sink who yells
  11. local entity pissguy // the guy taking a leak
  12. local int sig1
  13. local int sig2
  14.  
  15.  
  16. mstalldoor1 = find entity with targetname "mstalldoor1"
  17. stallguym = find entity with targetname "stallguym"
  18. sinkguy = find entity with targetname "sinkguy"
  19. pissguy = find entity with targetname "pissguy"
  20.  
  21. // mstalldoor1.movetype = MOVETYPE_NOCLIP
  22.  
  23.  
  24. animate entity stallguym performing action STD_XKICKDOOR_N_A_A // signaling sig1 // the kicking door animation
  25. play sound "speech/tsr1/skn/bt9-6.adp" for entity sinkguy at volume 0.9
  26.  
  27. wait .25 seconds
  28. moverotate entity mstalldoor1 from file "stall_door_1.rof" // signaling sig2 // the door getting kicked
  29. play sound "impact/door/kickdoor.wav" for entity mstalldoor1 at volume 0.9
  30. // wait for all clearing sig1, sig2
  31.  
  32. animate entity stallguym performing action RUN by moving [-64, 0, 0] 
  33. animate entity stallguym performing action RUN by moving [0, -64, 0] // moves him forwards to try and get him out of the way of the stall
  34.  
  35. use entity pissguy // gets this guy moving
  36.  
  37.  
  38. animate entity stallguym performing action SCRIPT_RELEASE
  39. animate entity sinkguy performing action SCRIPT_RELEASE
  40. animate entity pissguy performing action SCRIPT_RELEASE
  41.  
  42.  
  43. exit
  44.